realtek: move and clean up CHIP_INFO register definitions
authorJan Hoffmann <[email protected]>
Tue, 5 Aug 2025 00:41:32 +0000 (02:41 +0200)
committerRobert Marko <[email protected]>
Wed, 6 Aug 2025 11:41:51 +0000 (13:41 +0200)
commit368dab7c7a19a6246762361f29b2051e74656555
tree8598dd6379aa8b732018721fcb51f5273176e7ed
parentd469690b838c2fca627e5b871a73f04775b81851
realtek: move and clean up CHIP_INFO register definitions

Move the definitions to mach-rtl83xx.h, so they can be used during init
to read more detailed SoC information. Also rename the RTL931X register,
as it has the same address on all RTL93xx.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19653
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/files-6.12/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c